//
//  PYParamsters.h
//  Piaoyoung
//
//  Created by LiTengFei on 15/6/2.
//  Copyright (c) 2015年 HangZhou PiaoYoung Co.Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ParameterCreator : NSObject

@property (nonatomic, assign) NSInteger paramsType;

@property(nonatomic, strong, readonly) NSDictionary *params;
@property(nonatomic,strong,readonly) NSDictionary * originParams;


+ (instancetype)creatorWithDictionary:(NSDictionary *)dictionary;

+ (instancetype)defaultCreator;

- (instancetype)addKey:(NSString *)key value:(NSObject *)value;
- (instancetype)addKey:(NSString *)key value:(NSObject *)value md5:(BOOL)enableMD5;

@property (nonatomic, readonly, copy) NSString *paramsString;

@end
